package com.budwk.app.sqfw.dto;

import lombok.Data;

/**
 * @BelongsProject: dfxy-shequ
 * @Author: yangweimin
 * @CreateTime: 2024-06-29  14:32
 * @Description: TODO
 */
@Data
public class TreeDTO {

    public static final String P = "省";
    public static final String C = "市";
    public static final String D = "区/县";
    public static final String J = "街道";
    public static final String S = "社区";

    public TreeDTO(){}

    public TreeDTO(String id, String name, String type, boolean hasChild) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.hasChild = hasChild;
    }
    private String id;
    private String name;
    private String type;
    private boolean hasChild;
}
